package com.hl.toolkit.server.hao0.wepay.demo.support;


public class WepayServiceFactory {

	private WepayService defaultWepayService;


	public WepayService buildWepayService(String appId, String appKey, String mchId, byte[] certs) {

		WepayService wepayService = new WepayService();

		wepayService.initWepay(appId, appKey, mchId, certs);

		return wepayService;
	}

	public WepayService getDefaultWepayService() {
		return defaultWepayService;
	}

	public void setDefaultWepayService(WepayService defaultWepayService) {
		this.defaultWepayService = defaultWepayService;
	}
	
}
